package com.fenghongzhang.day012;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class Main2Activity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main2);



    }

    public void sendNotify(View view) {
        Intent intent = new Intent();
        intent.setAction("com.feng.notify");
        sendBroadcast(intent);

    }
}
